$:.unshift(File.dirname(__FILE__) + "/active_directory/vendor/")

# External Dependencies
require 'ldap'
require 'ldap/schema'
require 'ldap/control'
require 'logger'

# Extensions to Ruby
Dir[File.dirname(__FILE__) + "/active_directory/ext/*.rb"].each do |file|
  require file
end

require 'active_directory/connection'

require 'active_directory/datatypes/base'
[:string, :integer, :timestamp, :unicode_password].each do |type|
  require "active_directory/datatypes/#{type}"
end

# Active Directory Types
[:base, :computer, :user, :group].each do |type|
  require "active_directory/schema/#{type}"
  require "active_directory/#{type}"
end
